<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div style="border: 1px white solid; width: 1140px; margin-left: -50px " class="news-index-news">
<div><h3>最新资讯</h3></div>
	<c:forEach items="${news}" var="news">
		
		<div class="news-moodel"style="width:24%;margin: 5px;float: left; align-content: center;">
			<a href="news-show-${news.newsId}.html" >
				<img src="${news.newsImgs[0]}" style="width:250px; height: 200px;"/>
				<div class="news-moodel-xiaoz">${news.newsTitle}</div>
			</a>
		</div>
	</c:forEach>
	<div style="clear: both;"></div>
</div>